package org.linlinjava.litemall.admin.controller.giftcards.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.admin.util.DateUtil;
import org.linlinjava.litemall.core.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel("礼物卡类型统计请求参数")
public class AdminVirtualGiftCardStatisticPageReqVO extends PageParam {
    @ApiModelProperty("礼物卡名称")
    private String giftCardName;

    @ApiModelProperty("店铺ID")
    private Integer shopId;

    @ApiModelProperty("分类ID")
    private Integer classificationId;

    @ApiModelProperty("日期范围")
    @DateTimeFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime[] dateRange;
}
